//
//  DataFMDBHandle.h
//  项目A_百思不得姐
//
//  Created by wudongyang on 16/6/3.
//  Copyright © 2016年 wudongyang. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "FMDB.h"
#import <sqlite3.h>
#import "MineCollectModel.h"
@interface DataFMDBHandle : NSObject
+(DataFMDBHandle *)shareDatHandle;
-(void)openDB;
-(void)createCollectTable;
-(void)insertCollectData:(MineCollectModel *)model withUserName:(NSString *)userName;
-(void)deleteCollectData:(NSString *)title;
-(NSMutableArray *)selectAllCollecData:(NSString *)userName withCompare:(BOOL)compare;
-(void)dropcollecTable;
@end
